
/*Master .do File "Full title: Single-Party Incumbency Advantage in Vietnam: A Conjoint Survey Analysis of Public Electoral Support"
STATA 16.1
August 19, 2019
Plug-ins: Interflex, Ebalance*/


/*Set-Up 2016 Data*/
cd "C:\Users\ejm5\Dropbox\PAPI conjoint\Replication\do"
do 20190718_PAPIConjoint_2016.do

/*Set-Up 2017 Data*/
cd "C:\Users\ejm5\Dropbox\PAPI conjoint\Replication\do"
do 20190718_PAPIConjoint_2017.do

/*Set-Up 2018 Data*/
cd "C:\Users\ejm5\Dropbox\PAPI conjoint\Replication\do"
do 20190718_PAPIConjoint_2018.do

/***********************************************Analysis********************************************************/

/*******************************Actual Election: 
Table 2:42-53
Figure 1:18-32
Appendix B: 38-39 */
cd "C:\Users\ejm5\Dropbox\PAPI conjoint\Replication\do"
do 20190819_VNA_Results.do

/*******************************Main Conjoint Results: 
Appendix D: Lines 20-31
Figure 2: Lines 35-85
Table 4: Lines 91-124
Table 5 and Appendix J: Lines 129-256
Appendix F (By Different Levels of Preference Falsification): 272-393
Figure 4: 398-447
Appendix E (Levels of Economic Satisfaction):453-482*/
cd "C:\Users\ejm5\Dropbox\PAPI conjoint\Replication\do"
do 20190819_PAPIConjoint_MainAnalysis.do

/*******************************Triple Interaction and Marginal Means: 
Figure 2: 103-121
Table 6: 32-68
Figure 3: 75-98*/
cd "C:\Users\ejm5\Dropbox\PAPI conjoint\Replication\do"
do 20190819_PAPIConjoint_Margins.do

/*******************************Text Analysis: 
Figure 6: 207-222*/
cd "C:\Users\ejm5\Dropbox\PAPI conjoint\Replication\do"
do 20190819_PAPIConjoint_Text.do


/*******************************Appendix K: Balance Table*/
cd "C:\Users\ejm5\Dropbox\PAPI conjoint\Replication\do"
do 20190819_PAPIConjoint_Balance.do
